package com.ruoyi.fengkong.service;
import com.ruoyi.fengkong.entity.TbBusiness;

import java.util.List;


/**
 * 商户Service接口
 * 
 * @author wish
 * @date 2021-06-19
 */
public interface ITbBusinessService 
{
    /**
     * 查询商户
     * 
     * @param id 商户ID
     * @return 商户
     */
    public TbBusiness selectTbBusinessById(Long id);

    /**
     * 查询商户列表
     * 
     * @param tbBusiness 商户
     * @return 商户集合
     */
    public List<TbBusiness> selectTbBusinessList(TbBusiness tbBusiness);

    /**
     * 新增商户
     * 
     * @param tbBusiness 商户
     * @return 结果
     */
    public int insertTbBusiness(TbBusiness tbBusiness);

    /**
     *
     * 
     * @param tbBusiness 商户
     * @return 结果
     */
    public int updateTbBusiness(TbBusiness tbBusiness);

    /**
     * 批量删除商户
     * 
     * @param ids 需要删除的商户ID
     * @return 结果
     */
    public int deleteTbBusinessByIds(Long[] ids);

    /**
     * 删除商户信息
     * 
     * @param id 商户ID
     * @return 结果
     */
    public int deleteTbBusinessById(Long id);
}
